addpath('/home/roosevelt/Desktop/bayes/trunk/experiments/bug/to_bnt');
bnet = mk_cancer();
A = importdata('/home/roosevelt/Desktop/bayes/trunk/experiments/bug/to_bnt/alarm_bnt.csv');
samples = A.data;
samples = num2cell(samples');
samples(cellfun(@isnan, samples)) = {[]};
engine = var_elim_inf_engine(bnet);
t = cputime;
[bnet4, LLtrace] = learn_params_em(engine, samples, 10);
cputime - t
